<%@ Page Language="C#" MasterPageFile="~/Root.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="<%$Resources:web.sitemap, Login.Title %>" Culture="auto" UICulture="auto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="rootScript" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="rootContent" Runat="Server">
                    <div style="padding-top:35px;padding-left:207px;padding-bottom:35px;">
					    <asp:Label id="lblLogoutInfo" runat="server" Visible="False" CssClass="header2" meta:resourcekey="lblLogoutInfoResource1">You are now logged out.</asp:Label>
					    <asp:Label id="lblLoginInfo" runat="server" CssClass="header2" meta:resourcekey="lblLoginInfoResource1" >Welcome to the SQL Server Web Tools</asp:Label>
				    </div>
<div style="padding-left:207px;vertical-align:top;">
<fieldset style="width:280px;padding-left:22px;padding-right:22px;padding-bottom:22px;">
    <legend>Login</legend>
    <asp:Login ID=LoginOne runat=server OnLoggedIn="VerifyUserSetup" meta:resourcekey="LoginOneResource1" >
        <LayoutTemplate>
            <table border="0" cellpadding="1">
                <tbody>
                    <tr>
                        <td>
                            <table border="0" cellpadding="0">
                                <tbody>
                                   
                                    <tr>
                                        <td align="right">
                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" meta:resourcekey="UserNameLabelResource1">User Name:</asp:Label></td>
                                        <td>
                                            <asp:TextBox ID="UserName" runat="server" meta:resourcekey="UserNameResource1"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="LoginOne" meta:resourcekey="UserNameRequiredResource1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" meta:resourcekey="PasswordLabelResource1">Password:</asp:Label></td>
                                        <td>
                                            <asp:TextBox ID="Password" runat="server" TextMode="Password" meta:resourcekey="PasswordResource1"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="LoginOne" meta:resourcekey="PasswordRequiredResource1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." meta:resourcekey="RememberMeResource1" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2" style="color: red">
                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False" meta:resourcekey="FailureTextResource1"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="2">
                                            <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Log In" ValidationGroup="LoginOne" meta:resourcekey="LoginButtonResource1" />
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </LayoutTemplate>
    </asp:Login>
    <asp:HyperLink ID="CreateAccountLink" runat=server meta:resourcekey="CreateAccountLinkResource1" /><br />
    <asp:HyperLink ID="CredentialsLoginLink" runat=Server meta:resourcekey="CredentialsLoginLinkResource1" />
 </fieldset>
</div>
</asp:Content>

